package connector;

public class AddressInfo {
	private String street;
	private String type;
	private String prefix;
	private String sufix;
	private int fromL;
	private int toL;
	private int fromR;
	private int toR;
	
	public AddressInfo(String street, String type, String prefix, String sufix, int fromL, int fromR, int toL, int toR) {
		this.street = street;
		this.type = type;
		this.prefix = prefix;
		this.sufix = sufix;
		this.toL = toL;
		this.fromL = fromL;
		this.toR = toR;
		this.fromR = fromR;
	}
	
	public String getStreet() {
		return street;
	}
	public String getType() {
		return type;
	}
	public String getPrefix() {
		return prefix;
	}
	public String getSufix() {
		return sufix;
	}
	public int getFromL() {
		return fromL;
	}
	public int getToL() {
		return toL;
	}
	public int getFromR() {
		return fromR;
	}
	public int getToR() {
		return toR;
	}
	public void setStreet(String street) {
		this.street = street;
	}
	public void setType(String type) {
		this.type = type;
	}
	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}
	public void setSufix(String sufix) {
		this.sufix = sufix;
	}
	public void setFromL(int fromL) {
		this.fromL = fromL;
	}
	public void setToL(int toL) {
		this.toL = toL;
	}
	public void setFromR(int fromR) {
		this.fromR = fromR;
	}
	public void setToR(int toR) {
		this.toR = toR;
	}
	
	public String toString() {
		return street + " " + type; 
	}
}